package com.example.springbootdaydayup.entity;

import java.io.Serializable;

public class ChoumaWeek implements Serializable {

    //主键
    private Integer resId ;
    //备用字段
    private Integer flag ;
    //数据
    private String data ;
    //名称
    private String name ;
    //节点
    private String time ;

    public ChoumaWeek() {
    }

    public ChoumaWeek(Integer resId, Integer flag, String data, String name, String time) {
        this.resId = resId;
        this.flag = flag;
        this.data = data;
        this.name = name;
        this.time = time;
    }

    public Integer getResId() {
        return resId;
    }

    public void setResId(Integer resId) {
        this.resId = resId;
    }

    public Integer getFlag() {
        return flag;
    }

    public void setFlag(Integer flag) {
        this.flag = flag;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "ChoumaWeek{" +
                "resId=" + resId +
                ", flag=" + flag +
                ", data='" + data + '\'' +
                ", name='" + name + '\'' +
                ", time='" + time + '\'' +
                '}';
    }
}
